<?php

class ControllerModuleTourService extends Controller {

    public function index() {
        $data = array();
        $this->load->model('catalog/service');
        $services = $this->model_catalog_service->getServices();
        
        // Get all service information
        foreach ($services as $result) {
            $data['services'][] = array(
                'title' => $result['title'],
                'href' => $this->url->link('information/service', 'service_id=' . $result['service_id'])
            );
        }
        return $this->load->view('default/template/module/tour_service.tpl', $data);
    }
    
}
